<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br" lang="pt-br" xmlns:fb="http://ogp.me/ns/fb#">
    <head>
        <title><?= $GLOBALS['_tag_title'] ?></title>
        <meta name="description" content="<?= $GLOBALS['_metatag_description'] ?>" />
        <meta name="keywords" content="<?= implode(',',$GLOBALS['_metatag_keywords']) ?>" />
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta http-equiv="expires" content="<?= _META_EXPIRES_ ?>" />
        <meta name="author" content="<?= _META_AUTHOR_ ?>" />
        <meta name="reply-to" content="<?= _META_REPLYTO_ ?>" />
        <meta name="revisit-after" content="<?= _META_REVISITAFTER_ ?>" />
        <meta name="viewport" content="<?= _META_VIEWPORT_ ?>" />
        <meta name="robots" content="<?= _META_ROBOTS_ ?>" />
        <meta name="google-site-verification" content="<?= _META_GOOGLE_SITE_VERIFICATION_ ?>" />
<? if (file_exists(_ROOT_DIR_."/favicon.ico")): ?>
        <link type="image/x-icon" href="<?= __BASE_URI__ ?>favicon.ico" rel="shortcut icon" />
        <link type="image/vnd.microsoft.icon" href="<?= __BASE_URI__ ?>favicon.ico" rel="icon" />
<? endif;
if (!empty($GLOBALS['css_files'])):
    foreach ($GLOBALS['css_files'] as $uri => $media): ?>
        <link type="text/css" href="<?= _CSS_URI_.$uri ?>.css" rel="stylesheet" media="<?= $media ?>" />
<?  endforeach;
endif;
if (!empty($GLOBALS['js_files'])):
    foreach ($GLOBALS['js_files'] as $uri): ?>
        <script type="text/javascript" src="<?= _JS_URI_.$uri ?>.js"></script>
<?  endforeach;
endif ?>
    </head>
    <body>
